package com.banyuan.proxy;

/**
 * @author 陶继发
 * @version 1.8
 */
//静态代理
public class Test {
    public static void main(String[] args) {
        Ticket agent = new Agent(new TrainTicket());
        agent.sellTicket();
    }
}
